package com.mrd.gtimp.order.entity;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 适应单一窗口界面的下拉框内容对象 Created by lenovo on 2016/9/6.
 */
public class OrderDropdownRecords<T> {
    /**
     * 记录
     */
    private List<Map<String, String>> rows = new ArrayList<>();
    /**
     * 记录数
     */
    private long total = 0;

    public void add(Map<String, String> record) {
        rows.add(record);
        total++;
    }

    public List<Map<String, String>> getRows() {
        return rows;
    }

    public void setRows(List<Map<String, String>> rows) {
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }
}
